export enum ValidateType {
    username,
    password,
    email,
    confirmPassword,
}

export enum EJobType {
    FULL_TIME = 'FULL_TIME',
    PART_TIME = 'PART_TIME',
    REMOTE = 'REMOTE',
    INTERNSHIP = 'INTERNSHIP'
}
export enum EStatus {
    INTERVIEW = 'INTERVIEW',
    DECLINED = 'DECLINED',
    PENDING = 'PENDING'
}


export type TJob = {
    _id?: string;
    company: string;
    position: string;
    location: string;
    jobType: EJobType;
    createdAt?: string;
    status?: string;
    createdBy?: string;
    [key: string]: any;
};


export enum TSort {
    latest = 'latest',
    oldest = 'oldest',
    posAsc = 'posAsc',
    posDesc = 'posDesc',
}

export type TFilter = {
    company: string;
    status: string;
    jobType: string;
    sort: TSort;
};
